package com.fly.serverConfig;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
// springboot 应用
@SpringBootApplication
// config server
@EnableConfigServer
// eureka
@EnableDiscoveryClient
@EnableEurekaClient
public class MServerConfigApplication {

	public static void main(String[] args) {
		SpringApplication.run(MServerConfigApplication.class, args);
	}

}
